
<%--
  @desc: 回复意见
  @author: chenw
  @create: 2014-4-29 下午 15:32
--%>
<%@ page contentType="text/html;charset=utf-8" language="java"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<style type="text/css">
.pageFormContent .textInput {
	width: 220px;
	
}

.gray {
	color: gray;
}

.pageFormContent .fix_p {
	width: 500px;
	height: 50px;
	float: none;
} 

.pageFormContent p {
	width: 100%;
}
</style>
<div class="pageContent">
	<form id="pagerForm" style="height: 689px;" method="post"
		action="<c:url value='/advice/send/1'/>"
		class="pageForm required-validate"
		onsubmit="return iframeCallback(this,callbackForSubmit)"
		rel="dlg_advice_send">
		<div class="pageFormContent" layoutH="56">
			<p class="fix_p">
				<label for="txt_advice_back">反馈意见:</label> 
				<textarea name="content" rows="5" cols="150">${advice.content}</textarea>
			</p>
            <p class="fix_p"></p>
			<p class="fix_p">
				<label for="txt_content_back">回复内容:</label>
				<textarea name="description" rows="5" cols="150">${advice.description }</textarea>

			</p>
			<p class="fix_p"></p>
			<p>
				<label for="txt_user_tel">回复时间</label> <input name="createTime" type="text"
                            class="date" datefmt="yyyy-MM-dd HH:mm:ss"
                            value="<fmt:formatDate value="${advice.currentTime}" pattern="yyyy-MM-dd HH:mm:ss"/>"
                          
                            style="width: 150px; font-family: '微软雅黑 sans-serif serif';"/>
			</p>
			<p class="fix_p"></p>
			<label>状态：</label> 
				<select name="status">
                    <option value="" selected="selected">全部</option>
                    <option value="1"
                            <c:if test="${advice.status==1}">selected="selected"</c:if>>未解决
                    </option>
                    <option value="2"
                            <c:if test="${advice.status==2}">selected="selected"</c:if>>已解决
                  
                </select>
         


		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>

		<input type="hidden" name="loginId" value="${advice.loginId}" /> <input
			type="hidden" name="contact" value="${advice.contact}" />
			<input type="hidden" name="id" value="${advice.id}" />
	</form>
</div>
<script type="text/javascript">
	function callbackForSubmit(resp, st, xhr) {
		if (resp && resp.succ) {
			alertMsg.info(resp.msg);
			$.pdialog.closeCurrent();
			navTab.reloadFlag("page_advice_list");
		} else {
			alertMsg.info(resp.msg + "!");
		}
	}
</script>